package com.open.capacity.prints.excel;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.handler.inter.IExcelDataModel;
import cn.afterturn.easypoi.handler.inter.IExcelModel;
import lombok.Data;
import org.hibernate.validator.constraints.NotBlank;


@Data
public class XmExcelModel implements IExcelDataModel, IExcelModel {
    //行号
    private Integer rowNum;
    //错误消息
    private String errorMsg;

    @Excel(name = "项目编号*", width = 20)
    @NotBlank(message = "[项目编号]不能为空")
    private String code;
    @Excel(name = "项目名称*", width = 30)
    @NotBlank(message = "[项目名称]不能为空")
    private String name;
    @Excel(name = "备注", width = 30)
    private String remark;


}
